<?php

function con() {
	include_once 'db.class.php';
	$config = include 'config.php';
	$db = new db($config['db']);

	return $db;
}

?>